package com.kongjs.application.model.vo;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class SaveGroupVO {
    private Long parentId;
    @NotEmpty(message = "部门名称不能为空")
    private String groupName;
    private String remark;
    @Min(message = "启用状态 0 停用", value = 0)
    @Max(message = "启用状态 1 启用", value = 1)
    @NotNull(message = "启用状态不能为空")
    private Integer enabled;
}
